﻿#region Copyright

//  ======================================================
//      Copyright (c) 2011 Toulr All rights reserved.
//     
//      The use and distribution terms for this software are contained in the file
//      named license.txt, which can be found in the root of this distribution.
//      By using this software in any fashion, you are agreeing to be bound by the
//      terms of this license.
//     
//     You must not remove this notice, or any other, from this software.
//  ======================================================

#endregion

#region Using Namespaces

using System.ComponentModel.DataAnnotations;

#endregion

namespace Toulr.Domains.Account
{
    /// <summary>
    ///   用户爱好配置对象
    /// </summary>
    public class UserHobby
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Id { get; set; }

        /// <summary>
        ///   爱好名称
        /// </summary>
        [MaxLength(100)]
        public string HobbyName { get; set; }
    }
}